package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {

    OrderSetting findByDate(Date orderDate);

    void add(OrderSetting orderSetting);

    void edit(OrderSetting orderSetting);

    List<OrderSetting> findByMonth(@Param("thisMonthFirstDay") String thisMonthFirstDay, @Param("thisMonthLastDay") String thisMonthLastDay);

    OrderSetting findByOrderDate(Date orderDate);

    void setReservations(OrderSetting orderSetting);

}
